package com.azzcs.server;

import com.azzcs.Catalina;
import com.azzcs.lifecycle.Lifecycle;
import com.azzcs.service.Service;

/**
 * @Author: wzg
 * @Date: 2021/1/7 下午3:46
 */
public interface Server extends Lifecycle {
    int getPort();
    void setPort(int port);
    Catalina getCatalina();
    void setCatalina(Catalina catalina);
    void addService(Service service);
    void removeService(Service service);
}
